package com.geeklan.smart.widget.adapter;

public class CalendarDay {
    private int year;
    private int day;           // 日期（1~31）
    private int month;
    private boolean isData;
    private boolean isToday;   // 是否是今天
    private boolean isCurrentMonth; // 是否属于当前月份

    public CalendarDay(int year,int day,int month, boolean isToday, boolean isCurrentMonth,boolean isData) {
        this.year = year;
        this.day = day;
        this.month = month;
        this.isToday = isToday;
        this.isData = isData;
        this.isCurrentMonth = isCurrentMonth;
    }

    public boolean isData() {
        return isData;
    }

    public void setData(boolean data) {
        isData = data;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public String getDayText() {
        return String.valueOf(day);
    }

    public boolean isToday() {
        return isToday;
    }

    public boolean isCurrentMonth() {
        return isCurrentMonth;
    }
}

